// ---------------------------------------------------------------------------------------------------------
// <autogenerated>
// File          : Feature.cs
// Date          : 2013/05/21 04:17:59
// XSD Filepath  : http://doodle.com/xsd1/feature.xsd
// XSD Namespace : http://doodle.com/xsd1
// CodeXS        : Version 0.57 Beta - 13 Jul 2006
// .NET Runtime  : Version 2.0.50727.3643
// Generation No.: 0001
//   -------------------------------------------------------------------------------------------------------
//   Code Modifiers:
//   Generator:
//     Assembly  : CodeXS.Schema
//     Namespace : CodeXS.Schema.CodeModifier.HeadComment
//     Version   : 0.57.0.0
//   Generator:
//     Assembly  : CodeXS.Schema.StandardCodeModifier
//     Namespace : CodeXS.Schema.StandardCodeModifier.ReferencesConstruct
//     Version   : 0.57.0.0
//   Generator:
//     Assembly  : CodeXS.Schema.StandardCodeModifier
//     Namespace : CodeXS.Schema.StandardCodeModifier.SerializationAttributes
//     Version   : 0.57.0.0
//   Generator:
//     Assembly  : CodeXS.Schema.StandardCodeModifier
//     Namespace : CodeXS.Schema.StandardCodeModifier.DeclarationCommentConstruct
//     Version   : 0.57.0.0
//   Generator:
//     Assembly  : CodeXS.Schema.StandardCodeModifier
//     Namespace : CodeXS.Schema.StandardCodeModifier.PropertyConstruct
//     Version   : 0.57.0.0
//   Generator:
//     Assembly  : CodeXS.Schema.StandardCodeModifier
//     Namespace : CodeXS.Schema.StandardCodeModifier.CollectionConstruct
//     Version   : 0.57.0.0
//   Generator:
//     Assembly  : CodeXS.Schema.StandardCodeModifier
//     Namespace : CodeXS.Schema.StandardCodeModifier.SerializationSupportConstruct
//     Version   : 0.57.0.0
//   Generator:
//     Assembly  : CodeXS.Schema.StandardCodeModifier
//     Namespace : CodeXS.Schema.StandardCodeModifier.SchemaLocationAttribute
//     Version   : 0.57.0.0
//   Generator:
//     Assembly  : CodeXS.Schema.StandardCodeModifier
//     Namespace : CodeXS.Schema.StandardCodeModifier.LanguageFixupConstruct
//     Version   : 0.57.0.0
//   Generator:
//     Assembly  : CodeXS.Schema.StandardCodeModifier
//     Namespace : CodeXS.Schema.StandardCodeModifier.SerializationClassConstruct
//     Version   : 0.57.0.0
//   Generator:
//     Assembly  : CodeXS.Schema.StandardCodeModifier
//     Namespace : CodeXS.Schema.StandardCodeModifier.CommonCodeClassConstruct
//     Version   : 0.57.0.0
//   Generator:
//     Assembly  : CodeXS.Schema.StandardCodeModifier
//     Namespace : CodeXS.Schema.StandardCodeModifier.CodeAttributeCleanup
//     Version   : 0.57.0.0
// 
// Notes:
// * Changes to this file may cause incorrect behaviour and will be lost if the code is regenerated.
// </autogenerated>
// ---------------------------------------------------------------------------------------------------------
namespace EasySchedule.DataModel
{
	using System;
	using System.IO;
	using System.Text;
	using System.Collections;
	using System.Xml;
	using System.Xml.Schema;
	using System.Xml.Serialization;
	
	/// <summary>
	/// EasySchedule.DataModel.FeatureType enumeration.
	/// </summary>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("Director", "0.0.57.0")]
    //[System.Runtime.Serialization.DataContractSerializer()]
	[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://doodle.com/xsd1")]
	public enum FeatureType
	{
		/// <remarks/>
		useCustomURL,
		/// <remarks/>
		useCustomLogo,
		/// <remarks/>
		hideAds,
		/// <remarks/>
		hideDoodleFor,
		/// <remarks/>
		useCustomDecoration,
		/// <remarks/>
		useCustomCSS,
		/// <remarks/>
		requireAuth,
		/// <remarks/>
		useSSL,
		/// <remarks/>
		customTheme,
		/// <remarks/>
		avatar,
		/// <remarks/>
		extraInformation,
		/// <remarks/>
		quickReply,
		/// <remarks/>
		pickSubCalendar,
		/// <remarks/>
		smsLink,
	}
	/// <summary>
	/// EasySchedule.DataModel.FeaturesType Class implementation.
	/// </summary>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("Director", "0.0.57.0")]
    
	[System.Diagnostics.DebuggerStepThroughAttribute()]
    
	[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://doodle.com/xsd1")]
	[System.Xml.Serialization.XmlRootAttribute("features", Namespace="http://doodle.com/xsd1", IsNullable=false)]
	public partial class FeaturesType
	{
		/// <summary>
		/// The private member referenced by the
		/// <see cref="feature" /> property.
		/// </summary>
		private FeatureType[] @__feature;
		/// <summary>
		/// Used for the serialization of the 
		/// <see cref="__feature" /> value of the
		/// <see cref="FeaturesType" /> object class.
		/// </summary>
		/// <remarks>
		/// Used internally by the <see cref="XmlSerializer" /> class.
		/// </remarks>
		[System.Xml.Serialization.XmlElementAttribute("feature", Form=XmlSchemaForm.Qualified)]
		public FeatureType[] _feature
		{
			get
			{
				return this.@__feature;
			}
			set
			{
				this.@__feature =value;
			}
		}
		/// <summary>
		/// Sets or gets the <see cref="__feature" />
		/// value of the <see cref="FeaturesType" />
		/// object class.
		/// </summary>
		[System.Xml.Serialization.XmlIgnoreAttribute()]
		public FeatureType[] feature
		{
			get
			{
				if ((this.@__feature == null))
				{
					this.@__feature = new FeatureType[1];
				}
				return this.@__feature;
			}
			set
			{
				this.@__feature = value;
			}
		}
		/// <summary>
		/// Gets the XML string for the serialized
		/// <see cref="FeaturesType" /> object.
		/// </summary>
		public virtual string Xml
		{
			get
			{
				return Serializer.ToXml(this, this.GetType());
			}
		}
		/// <summary>
		/// Creates a new <see cref="FeaturesType" /> 
		/// object from an XML string.
		/// </summary>
		/// <param name="Xml">
		/// XML string to create the object from.</param>
		/// <returns>
		/// A <see cref="FeaturesType" /> object.
		/// </returns>
		public static FeaturesType FromXml(string Xml)
		{
			return ((FeaturesType)(Serializer.FromXml(Xml, typeof(FeaturesType))));
		}
		/// <summary>
		/// Gets the schema location as a URI string.
		/// </summary>
		/// <remarks>
		/// <para>
		/// The location is generated from the source location
		/// specified for the schema.
		/// </para>
		/// <para>
		/// Note that this property must be generated with a set accessor in order
		/// that the <b>xsi:schemaLocation</b> attribute is correctly generated by
		/// the <see cref="XmlSerializer" /> object.
		/// </para>
		/// </remarks>
		[System.Xml.Serialization.XmlAttributeAttribute(Namespace="http://www.w3.org/2001/XMLSchema-instance")]
		public virtual string schemaLocation
		{
			get
			{
				return "http://doodle.com/xsd1 http://doodle.com/xsd1/user.xsd";
			}
			set
			{
			}
		}
	}
}
